package com.onenine.app.event;

/**
 * 刷新事件
 */
public class RefreshEvent {

    public int type;    //类型
    public String extraStr;//附加信息
    public int extraInt;//附加信息

    public RefreshEvent(int type) {
        this.type = type;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getExtraStr() {
        return extraStr == null ? "" : extraStr;
    }

    public void setExtraStr(String extraStr) {
        this.extraStr = extraStr;
    }

    public int getExtraInt() {
        return extraInt;
    }

    public void setExtraInt(int extraInt) {
        this.extraInt = extraInt;
    }
}
